package com.study.bean;

import java.math.BigDecimal;
/*
 * 璁㈠崟璇︽儏琛�
 */
public class Details {
	private Integer deid ;//详情id	
	private String orid ;//订单id
	private Integer sid ;//副表id
	private BigDecimal deprice ;//详情价格
	private Integer dedcount ;//库存
	private String cname;//商品名称
	private BigDecimal sbid;//商品进价
	
	
	public String getCname() {
		return cname;
	}
	public void setCname(String cname) {
		this.cname = cname;
	}
	public BigDecimal getSbid() {
		return sbid;
	}
	public void setSbid(BigDecimal sbid) {
		this.sbid = sbid;
	}
	public Integer getDeid() {
		return deid;
	}
	public void setDeid(Integer deid) {
		this.deid = deid;
	}
	public String getOrid() {
		return orid;
	}
	public void setOrid(String orid) {
		this.orid = orid;
	}
	public Integer getSid() {
		return sid;
	}
	public void setSid(Integer sid) {
		this.sid = sid;
	}
	public BigDecimal getDeprice() {
		return deprice;
	}
	public void setDeprice(BigDecimal deprice) {
		this.deprice = deprice;
	}
	public Integer getDedcount() {
		return dedcount;
	}
	public void setDedcount(Integer dedcount) {
		this.dedcount = dedcount;
	}
	@Override
	public String toString() {
		return "Details [deid=" + deid + ", orid=" + orid + ", sid=" + sid + ", deprice=" + deprice + ", dedcount="
				+ dedcount + "]";
	}
	public Details(Integer deid, String orid, Integer sid, BigDecimal deprice, Integer dedcount) {
		super();
		this.deid = deid;
		this.orid = orid;
		this.sid = sid;
		this.deprice = deprice;
		this.dedcount = dedcount;
	}
	public Details() {
		super();
		// TODO Auto-generated constructor stub
	}

}

